onDownloadFileCompleted

open fun onDownloadFileCompleted(file: File)

Callback invoked when the DownloadFileTask2 (for downloading the QR code image) completes.

If the download was successful, this method decodes the downloaded image file into a Bitmap and sets it as the content of this ImageView. It handles potential recycling of any previously displayed Bitmap.

Parameters

file

The File object representing the downloaded QR code image. The isDownloaded field indicates success.